.van-toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  max-width: 70%;
  min-width: 88px;
  padding: 6px 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  color: white;
  font-size: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;

  &.top {
    top: 20%;
  }

  &.middle {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  &.bottom {
    bottom: 20%;
  }

  &__text {
    line-height: 1.5;
  }

  .svg-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }
}

.van-fade-enter-active,
.van-fade-leave-active {
  transition: opacity 0.3s;
}

.van-fade-enter-from,
.van-fade-leave-to {
  opacity: 0;
}
